home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1998-06-24 | 1015 b | 36 lines |
- CONFIGURE_SCREEN[0,32]
-
- Procedure CONFIGURE_SCREEN[SCRN_NUMBER,NUM_COLOURS]
- '
- ' Configure Screen
- '
- ' (c) K.Hill, May 1997
- '
- ' Initialise screen using this routine, sets to ntsc friendly lowres
- ' you choose screen number, and number of colours. It auto sets up
- ' configs first time it is used, and resets screens to those coords.
- '
- Screen Open SCRN_NUMBER,320,234,NUM_COLOURS,Lowres
- Curs Off
- If Not Exist("s:listgame.config")
- Cls 2 : Paper 2 : Pen 16 : Rem black on white default colours.
- Locate 0,10
- Print "Move screen with mouse, hit left mouse"
- Print "to save settings"
- X Mouse=124 : Y Mouse=55
- While Mouse Key<>1
- X=X Mouse : Y=Y Mouse
- Screen Display 0,X,Y,,
- Wend
- Open Out 1,"s:listgame.config"
- Print #1,X
- Print #1,Y
- Close 1
- Else
- Open In 1,"s:listgame.config"
- Input #1,X
- Input #1,Y
- Screen Display SCRN_NUMBER,X,Y,,
- Close 1
- End If
- End Proc